const autoIncrement = require('mongoose-auto-increment');

module.exports = app => {

    const { mongooseDB } = app;
    autoIncrement.initialize(mongooseDB);

    app.autoIncrement = autoIncrement;
}